﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Majoopic.Service.Model;

namespace Majoopic.Service.Server
{
    /// <summary>
    /// Base class for the service
    /// </summary>
    public abstract class BaseService
    {
        /// <summary>
        /// Current context
        /// </summary>
        public ServiceContext CurrentContext
        {
            get;
            set;
        }

        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="currentContext"></param>
        public BaseService(ServiceContext currentContext)
        {
            this.CurrentContext = currentContext;
        }
    }
}
